<div ng-init="init();" class="kmi-layout-content B0103-content">
    <div class="kmi-header-row">
        <div class="kmi-side-btn left" ng-click="back();">
            <i class="material-icons">&#xE408;</i>
            <div class="kmi-can-click"></div>
        </div>
        <div class="brand-title">
            <div class="custom" ng-if="companyName">
                <div class="title" ng-bind="companyName"></div>
                <img src="" alt="" class="brand">
                <div class="gap"></div>
            </div>
            <div class="digiwin">
                <img src="image/smes_v340/logo_ch.png" alt="">
                <img src="image/smes_v340/logo_en.png" alt="">
            </div>
        </div>
        <div class="header-title" ng-bind="'B0103.title' | translate"></div>
        <div class="header-logo"></div>
    </div>
    <div class="kmi-layout-main-content">
        <div class="kmi-layout-page">
            <div>
                <div class="kmi-text-fields">
                    <label class="label" ng-bind="'B0103.item_no' | translate"></label>
                    <input ng-model="item_no"></input>
                    <div class="tip search" ng-click="loadItemNoList();"><img src="image/icons/search.png"></img> </div>
                    <label class="label" ng-bind="'B0103.wo_no' | translate" style="margin-left: 16px;" ></label>
                    <input ng-model="wo_no"></input>
                    <div class="tip search" ng-click="loadWoNoList();"><img src="image/icons/search.png"></img> </div>
                </div>
            </div>
            <div class="kmi-list plot-list">
                <div class="kmi-list__header">
                    <!-- 20230313 modify by Alan for M#129881: -->
                    <div class="kmi-list__column width-fixed">
                        <button class="mdl-button mdl-js-button mdl-button--icon" ng-click="selectAll();">
                          <img ng-hide="isSelectAll" src="image/icons/check0.png"></img>
                          <img ng-show="isSelectAll" src="image/icons/check1.png"></img>
                        </button>
                    </div>
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'B0103.list.column1' | translate"></div>
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'B0103.list.column2' | translate"></div>
                    <!-- 20220915 modify by wangqq for M#0110347：生产批删除模块增加派工状态栏位和卡控 -->
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'B0103.list.column3' | translate"></div>
                </div>
                <div class="kmi-list__row-content">
                <div class="kmi-list__row" ng-repeat="item in plotList track by $index">
                    <div class="kmi-list__column">
                        <button class="mdl-button mdl-js-button mdl-button--icon" ng-click="itemClick($index,item);">
                          <img ng-hide="item.isSelect" src="image/icons/check0.png"></img>
                          <img ng-show="item.isSelect" src="image/icons/check1.png"></img>
                        </button>
                    </div>
                    <div class="kmi-list__column column-border" style="flex:1;" ng-bind="item.plot_no"></div>
                    <div class="kmi-list__column" style="flex:1;" ng-bind="item.qty"></div>
                    <!-- 20220915 modify by wangqq for M#0110347：生产批删除模块增加派工状态栏位和卡控 -->
                    <div class="kmi-list__column" style="flex:1;" ng-bind="item.dispatch_state_name"></div>
                </div>
                </div>
            </div>
        </div>
        <div class="kmi-layout-footer" ng-show="selectItemNumber == 0 ">
            <button class="mdl-button mdl-js-button mdl-button--fab mdl-shadow--custom mdl-button--custom1"
            ng-click="search();">
              <img src="image/icons/search.png"></img> 
            </button>
        </div>
        <div class="kmi-layout-footer" ng-show="selectItemNumber > 0">
            <button class="mdl-button mdl-js-button mdl-button--fab mdl-shadow--custom mdl-button--custom1"
            ng-click="confirm();" style="background:#db4b3c;">
            <img src="image/icons/delete2.png"></img>
            </button>
        </div>
    </div>
</div>
